home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4900 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Searching for BLTCON0 value..
  5. Date: 6 Mar 1996 13:49:34 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4hk55e$pij@sunsystem5.informatik.tu-muenchen.de>
  9. References: <4hjopo$blp@news.uni-c.dk>
  10. NNTP-Posting-Host: hphalle0a.informatik.tu-muenchen.de
  11. To: skytech@inet.uni-c.dk (Michael Juhl)
  12. Originator: fischerj@hphalle0a.informatik.tu-muenchen.de
  13.  
  14.  
  15. In article <4hjopo$blp@news.uni-c.dk>, skytech@inet.uni-c.dk (Michael Juhl) writes:
  16. |> Organization: News Server at UNI-C, Danish Computing Centre for Research and Education.
  17. |> Lines: 24
  18. |> Message-ID: <4hjopo$blp@news.uni-c.dk>
  19. |> NNTP-Posting-Host: inet.uni-c.dk
  20. |> X-Newsreader: TIN [version 1.2 PL2]
  21. |> 
  22. |> 
  23. |>  A friend of mine and I are currently making a game is assembler
  24. |> and we are ofcourse using the blitter, but we have this problem.
  25. |> 
  26. |> We know a couple of BLPCON0 values like $09f0, $0dca ect.
  27. |> but we are searching for a value which can do this:
  28. |> 
  29. |> (We want to mix two bitplanes. A bitplane of a plane unto the
  30. |> background)
  31. |> 
  32. |> 
  33. |> Bit values:
  34. |> 
  35. |> PLANE    BACKGROUND        RESULT
  36. |>   0          0                    0
  37. |>   0          1                    1
  38. |>   1          0                    0
  39. |>   1          1                    0
  40. |> 
  41. |> 
  42. |> Does such a value exists, if so please E-Mail me at
  43. |> 
  44. |> skytech@inet.uni-c.dk
  45. |> 
  46.  
  47.  
  48. "plane" is A, "background" is C.  D is result.
  49.  
  50. miniterm:
  51. ABC D
  52. 000 0
  53. 001 1
  54. 010 0
  55. 011 1
  56. 100 0
  57. 101 0
  58. 110 0
  59. 111 0
  60.  
  61.     ^--- 01010000 = $50 (I hope no bug, all typed from mind)
  62.  
  63. try $0b50 and don't forget to use APTR, CPTR, AND DPTR.
  64.       ^---A DMA, C DMA, D DMA (I hope no bug)
  65.  
  66. ------------------------------------------------------------------------
  67.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  68.  
  69.